
package com.compuvest.web;

public class Advert {

    private int id;
    private String name;
    private String prefix;

    public Advert() {
        //+-----------+-----------+--------+------------+-------+--------+
        //| advert_id | name      | prefix | fileName   | delim | active |
        //+-----------+-----------+--------+------------+-------+--------+
        //|         1 | compuvest |        | NULL       |       |   NULL |
        //+-----------+-----------+--------+------------+-------+--------+
        this(1, "compuvest", "");
    }

    public Advert(int id, String name, String prefix) {
        this.id = id;
        this.name = name;
        this.prefix = prefix;
    }

    public int getAdvertID()    { return id;}
    public String getName()     { return name;}
    public String getPrefix()   { return prefix;}
}
